<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%response.setStatus(200);%>
<c:set var="ctx" value="${pageContext.request.contextPath}/" />

<!DOCTYPE html>
<html>
<head>
	<title>401 - 未授权</title>
	<script>
		var t = 3;//设定跳转时间
		var intv = setInterval(function(){
			if(t == 0) {
				top.location = "${ctx}";
				clearInterval(intv);
			}
			document.getElementById('sec').innerHTML = t--; 
		}, 1000);
	</script>
</head>
<body >
	<h2>401 - 对不起, 您没有访问该页面的权限.</h2>
	<p><span id="sec">3</span>秒后自动跳转到首页，立即<a href="<c:url value="/"/>">返回首页</a></p>
</body>
</html>